NET PLAYER DESTROYED

This command will return the Player Number of a newly removed player from the net game.

  Syntax
Return Integer=NET PLAYER DESTROYED()
  Returns

This command will return the Player Number of a newly removed player from the net game

  Description

The Player Number is the Unique ID you have been using to reference this player. You do not need to free this player when you receive this signal as it has already been done for you.

  Example Code
rem Create an EXTRA Player (used rarely)
print "EXTRA PLAYER CREATION"
PlayerNumber = create net player("NPC Player")
print "EXTRA PLAYER DESTRUCTION"
free net player PlayerNumber
print "newly removed player from the net game ",net player destroyed()
  See also

MULTIPLAYER Commands Menu
Index